package cn.wei.sdd.core.mapper;

import cn.wei.sdd.core.pojo.entity.Orders;
import cn.wei.sdd.core.pojo.vo.OrderStatisticsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 回收订单表 Mapper 接口
 * </p>
 *
 * @author Wei
 * @since 2021-10-25
 */
public interface OrdersMapper extends BaseMapper<Orders> {
    double getOrdersTotalWeight(@Param("order_no") String orderNo);

    List<OrderStatisticsVO> selectOrderStatisticsByDate(String recentTime);

    List<OrderStatisticsVO> selectRecyclerStatisticsByDate(String recentTime);

}
